package com.label.common;

import lombok.Getter;

@Getter
public enum ResultCode {
    NOHANDLER(404,"请求地址错误"),
    SUCCESS(200,"操作成功"),
    FAILDE(500,"操作失败"),
    NOTOKEN(401,"密码错误"),
    TOKEN(200, "认证成功"),
    NOPERMISS(403,"误操作权限"),
    LOGINFAIDE(501,"用户名不存在")
    ;
    private Integer code;
    private String message;
    ResultCode(Integer code,String message){
        this.code=code;
        this.message=message;
    }
}
